body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: rgba(255, 255, 255, 0.9);
  background: #1d1e20;
  color-scheme: dark;
  margin: 0;
}

.App {
  margin: 0 auto;
  padding: 0 25px;
  height: 100vh;
  max-width: 400px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.SelectButton {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  width: 275px;
  font-size: inherit;
  font-family: inherit;
  padding: 5px 15px;
  min-height: 35px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0, 5, 30, 0.2), 0 4px 8px -2px rgba(0, 5, 30, 0.15),
    0 10px 16px -4px rgba(0, 5, 30, 0.05), rgba(255, 255, 255, 0.1);
}

.SelectButton:hover {
  background: rgba(255, 255, 255, 0.2);
}

.SelectButton:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 1), 0 0 0 4px rgba(0, 150, 255, 0.8);
}

.SelectButton > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.SelectButton span {
  display: flex;
}

.SelectGroupLabel {
  margin: 5px 0;
  opacity: 0.5;
  padding: 0 15px;
}

.Select {
  background: #29282b;
  margin: 0;
  box-sizing: border-box;
  list-style-type: none;
  overflow-y: auto;
  border-radius: 8px;
  padding: 8px;
  outline: 0;
  box-shadow: 0 1px 2px rgba(0, 5, 30, 0.3), 0 4px 8px -2px rgba(0, 5, 30, 0.2),
    0 10px 16px -4px rgba(0, 5, 30, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 0 0 -1px rgba(255, 255, 255, 0.5), 0 0 0 2px rgba(0, 0, 0, 0.8);
  user-select: none;
}

/* bug: Firefox currently lies about @supports */
body:not(.firefox) .Select {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
/* @supports (backdrop-filter: blur(0)) {
  .select {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
} */

.Option:focus {
  background: linear-gradient(45deg, royalblue, #096bd0);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 10px -1px rgba(0, 0, 255, 0.3),
    0 0 25px rgba(0, 100, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.Option {
  padding: 6px 16px;
  min-height: 35px;
  cursor: default;
  border-radius: 4px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.15s ease-out;
  outline: 0;
}

.Option > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.Option::marker {
  display: none;
}

.OptionIcon {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 50%;
  background: #1d1e20;
  color: transparent;
}

.ScrollArrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2px 0;
  z-index: 25;
  font-size: 80%;
  cursor: default;
  height: 20px;
  border-radius: 8px;
}
